package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ConfirmOrderRequest {

    //优惠券id
    @JsonProperty("coupon_record_id")
    private long couponRecordId;

    //商品id list
    @JsonProperty("product_ids")
    private List<Long> productIdList;

    //支付方式
    @JsonProperty("pay_type")
    private String payType;

    //客户端类型
    @JsonProperty("client_type")
    private String clientType;

    //收货地址id
    @JsonProperty("address_id")
    private long addressId;

    //总价格
    @JsonProperty("total_amount")
    private BigDecimal totalAmount;

    //实际价格
    @JsonProperty("real_pay_amount")
    private BigDecimal realPayAmount;

    //防重复提交令牌
    private String token;
}
